package com.tencent.txcc.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author director
 * @since 2022-10-03
 */
@TableName("t_blacklist")
@Data
public class Blacklist extends Model<Blacklist> {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("creat_time")
    private Date creat_time = new Date();
    @TableField("user_id")
    private Long user_id;
    private String ip;
    private String phone;
    private String reason;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
